[PATCH] Makefile: Use relative paths for debugging symbols.
The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use
-ffile-prefix-map and --debug-prefix-map, respectively, to use
relative paths for occurrences of __FILE__ and debug paths.
This enables reproducible builds regardless of the absolute path to
the build directory:
https://reproducible-builds.org/docs/build-path/
Series-to: u-boot Signed-off-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Gbp-Pq: Name Makefile-Use-relative-paths-for-debugging-symbols.patch
Luca Boccassi [Tue, 10 Jan 2023 03:18:09 +0000 (03:18 +0000)]
enable support for secure boot on qemu arm64/amd64
Secure boot is now supported upstream in EFI mode. It is disabled
by default, and can be enabled by loading keys from the console:
https://u-boot.readthedocs.io/en/latest/develop/uefi/uefi.html#configuring-uefi-secure-boot
Gbp-Pq: Topic qemu
Gbp-Pq: Name efi-secure-boot.patch
From: Icenowy Zheng <icenowy@aosc.io>
To: Simon Glass <sjg@chromium.org>, Kever Yang <kever.yang@rock-chips.com>,
Frank Wang <frank.wang@rock-chips.com>,
Jagan Teki <jagan@amarulasolutions.com> Cc: u-boot@lists.denx.de,
Icenowy Zheng <icenowy@aosc.io>
Subject: [PATCH] phy: rockchip: inno-usb2: fix hang when multiple controllers
exit
Date: Tue, 6 Apr 2021 23:10:59 +0800
Message-Id: <20210406151059.1187379-1-icenowy@aosc.io>
The OHCI and EHCI controllers are both bound to the same PHY. They will
both do init and power_on operations when the controller is brought up
and both do power_off and exit when the controller is stopped. However,
the PHY uclass of U-Boot is not as sane as we thought -- they won't
maintain a status mark for PHYs, and thus the functions of the PHYs
could be called for multiple times. Calling init/power_on for multiple
times have no severe problems, however calling power_off/exit for
multiple times have a problem -- the first exit call will stop the PHY
clock, and power_off/exit calls after it still trying to write to PHY
registers. The write operation to PHY registers will fail because clock
is already stopped.
Adapt the count mechanism from phy-sun4i-usb to both init/exit and
power_on/power_off functions to phy-rockchip-inno-usb2 to fix this
problem. With this stopping USB controllers (manually or before booting
a kernel) will work.
Debian's flash-kernel expect the console variable to just contain the device,
because it will set the bootargs to "console=${console}". So revert adding
"console=" to the console parameter, but also adjust the shipped bootscripts
for exynos boards to cope with it.
Bug-Debian: https://bugs.debian.org/920116 Signed-off-by: Benjamin Drung <bdrung@debian.org>
Gbp-Pq: Topic exynos
Gbp-Pq: Name 0001-arm-config-fix-default-console-only-to-specify-the-d.patch
* New upstream release. (Closes: #1027176)
* u-boot-amlogic: Drop "noefi" variants.
* debian/control: Add Build-Depends-Arch with libgnutls28-dev:native and
uuid-dev:native for arm64. Thanks to Helmut Grohne.
* debian/patches: Disable CONFIG_VIDEO_LOGO to fix cross-building.
Thanks to Helmut Grohne.
* salsa-ci: Enable cross-building of u-boot-tools.
* debian/control: Drop libc6 cross build dependency workaround.
* debian/control: Drop Build-Depends on python3-distutils and
python3-pkg-resources, no longer needed.
* debian/control: Move several Build-Depends to Build-Depends-Arch:
arm-trusted-firmware, crust-firmware, device-tree-compiler,
libfdt-dev, libgnutls28-dev, libncurses-dev, libssl-dev, lzop,
opensbi, and uuid-dev.